const BASE_URL =
  "https://www.fastmock.site/mock/267ca195d41bc0b849a3a03873d6ffcc";
const http = {
  get(url) {
    return fetch(BASE_URL + url)
      .then((response) => response.json())
      .then((res) => {
        return res;
      });
  },
};

export default http;
